package com.eshop.modules.customer.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import com.eshop.modules.customer.service.dto.StoreCustomerDto;
import com.eshop.domain.PageResult;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.customer.service.dto.StoreCustomerQueryCriteria;
import com.eshop.modules.customer.domain.StoreCustomer;
import com.eshop.common.service.BaseService;

public interface StoreCustomerService extends BaseService<StoreCustomer>
{
    PageResult<StoreCustomerDto> queryAll(final StoreCustomerQueryCriteria criteria, final Pageable pageable);
    
    List<StoreCustomer> queryAll(final StoreCustomerQueryCriteria criteria);
    
    void download(final List<StoreCustomerDto> all, final HttpServletResponse response) throws IOException;
}
